<!DOCTYPE>
<html>
<head>
	<meta charset="utf-8">
	<title>考试安排</title>
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<link rel="stylesheet" type="text/css" href="/mp/css/style.css">
</head>
<body>
<div class="hg_koashi_list">
    <ul id="ullist">

    </ul>
</div>
<script type="text/javascript" src="/mp/js/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="/mp/js/common/common.js"></script>
<script type="text/javascript">
    $(function() {
        ExamPlan();
    });
    function ExamPlan() {
        $.ajax({
            url:'/mp/question/getExamPlan',
            async:false,
            dataType:"json",
            type:"get",
            success:function(result){
                if(result.data == ""||result.data == null){
                    location.href="/mp/train/changePage?url=/mp/prompt-message&message=最近暂无考试安排！";
                    return;
                }else {
                    for(i=0;i<result.data.length;i++){
                        var content = result.data[i].trainContent;
                        var start = result.data[i].trainStart;
                        start = replaceChat(start,10," ");
                        var end = result.data[i].trainEnd;
                        end = replaceChat(end,10," ");
                        $("#ullist").append("<li><p><icon></icon>"+content+"</p><div class='clear_both'></div><span><icon></icon><font>开始时间：</font>"+start+"</span><span><icon></icon><font>结束时间：</font>"+end+"</span><div class='clear_both'></div></li>");
                    }
                }

            }
        });
    }
</script>
</body>

</html>
